package com.isoft.hospital.dao;

import com.isoft.hospital.entity.Login;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface LoginDao {
    @Select("select * from login where uname=#{uname} and upass=#{upass}")
    Login login(Login login);
}
